package cn.easybuy.pojo;

/**
 * 订单详情表
 *
 * @author 江司令
 *
 */
public class Detail {

    private int id; // 序号
    private int orderId; // 订单id
    private int productId;// 商品id
    private int quantity;// 数量
    private float cost;// 金额
    private String file; // 图片
    private String name; // 商品名称

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public float getCost() {
        return cost;
    }

    public void setCost(float cost) {
        this.cost = cost;
    }

    public Detail(int id, int orderId, int productId, int quantity, float cost,
                  String file, String name) {
        super();
        this.id = id;
        this.orderId = orderId;
        this.productId = productId;
        this.quantity = quantity;
        this.cost = cost;
        this.file = file;
        this.name = name;
    }

}

